package com.example.spring.aop.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * 自定义注解，权限检验
 *
 * @author luowj12
 * @since 2021/6/7 9:54
 */
@Documented
@Retention(RUNTIME)
@Target({METHOD})
public @interface RolesControl {

    String value() default "123456";

}
